package cn.rokhdelar.umbrsapi.management.repository;

import cn.rokhdelar.umbrsapi.management.entity.SysPermission;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SysPermissionRepo extends JpaRepository<SysPermission, Long> {
    Page<SysPermission> findAllByNameContaining(String name, Pageable pageable);
}
